package cn.ylxn.dataAtructureAndAlgorithm;

/**
 * 单链表
 */
public class SinglerLinkedList {
}
//定义一个
class SinglerLinked{

}

class HeroNode{
    public int no;
    public String name;
    public String nickname;
    public HeroNode next;
    public HeroNode(int no,String name,String nickname){
            this.name= name;
            this.no=no;
            this.nickname= nickname;
    }

    @Override
    public String toString() {
        return "HeroNode{" +
                "no=" + no +
                ", name='" + name + '\'' +
                ", nickname='" + nickname + '\'' +
                ", next=" + next +
                '}';
    }
}